ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLColumnCollection Class / Insert Method / Insert(Int32,XLColumn,XLCell[]) Method
Position where the item will be inserted.
Item that will be inserted.
Array ot the cells for inserted column.

In This Topic
    Insert(Int32,XLColumn,XLCell[]) Method
    In This Topic
    Inserts an XLColumn object at a specific position in the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Insert( _
       ByVal index As System.Integer, _
       ByVal col As XLColumn, _
       ByVal cells() As XLCell _
    ) As XLColumn
    public XLColumn Insert( 
       System.int index,
       XLColumn col,
       XLCell[] cells
    )

    Parameters

    index
    Position where the item will be inserted.
    col
    Item that will be inserted.
    cells
    Array ot the cells for inserted column.

    Return Value

    A reference to the item that was added to the collection.
    See Also